package com.api.service;

import com.api.common.reqres.Request;
import com.api.common.reqres.Response;
import com.api.model.entity.Role;
import com.api.model.request.AddRoleRequest;
import com.api.model.request.RoleAddMenuRequest;
import com.api.model.request.RoleListRequest;
import com.api.model.request.UpdateRoleRequest;
import com.api.model.response.NullResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cfp
 * @since 2019-10-21
 */
public interface RoleService extends IService<Role> {
	public Response<NullResponse> roleList(Request<RoleListRequest> request);

	public Response<NullResponse> updateRole(Request<UpdateRoleRequest> request);

	public Response<NullResponse> addRole(Request<AddRoleRequest> request);

	public Response<NullResponse> roleAddMenu(Request<RoleAddMenuRequest> request);
}
